<html>
  <head>
    <title>Editing - {{page_name}}</title>
  </head>
  <body>
    <h1>{{ page_name }}</h1>
    
    <table>
    {% for attribute in attributes %}
      
      <!-- check if attribute is to be edited -->
     {% ifnotequal attribute.name edit.name %}
     <tr> 
        <td>{{ attribute.name }} </td><td>{{ attribute.value }}</td>
     </tr> 
     {% endifnotequal %} 
    {% endfor %}
    </table>
      <form action="/wiki/{{page_name}}/save" method="post">
            <input type="text" name="name" value="{{ edit.name }} "></input>
            {% ifequal edit.type 1%}
              <input type="text" name="val" value="{{ edit.value }} "></input>
            {% else %}
              <input type="text" size="60" name="val" value="{{ edit.value }} "></input>
            {% endifequal %}
            <input type="submit" value="Save"/>
      </form>
    <br/>
    <div id="tips"><p></p></div>
  <center>
<br/><a href="/about" style="font-size:90%; text-decoration:none; font-family:'Kristen ITC';">about</a>&nbsp;-&nbsp;<a href="/feedback" style="font-size:90%; text-decoration:none; font-family:'Kristen ITC'; color: #00FF00">feedback</a>
</center>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4405632-1");
pageTracker._initData();
pageTracker._trackPageview();
</script></body>
</html>